package com.lphj.datainterface.service.impl;

import com.lphj.datainterface.dao.TCustomerTypeDao;
import com.lphj.datainterface.entity.TCustomerType;
import com.lphj.datainterface.service.TCustomerTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TCustomerTypeServiceImpl implements TCustomerTypeService {

    @Autowired
    TCustomerTypeDao tCustomerTypeDao;

    @Override
    public int addTCustomerType(TCustomerType tCustomerType) {
        return tCustomerTypeDao.AddTCustomerType(tCustomerType);
    }

    @Override
    public int delTCustomerTypeByAll() {
        return tCustomerTypeDao.DelTCustomerTypeByAll();
    }
}
